/**
 * @param IBackStatus 分页数据接口
 */
export interface IBackStatus {//分页
    backStatus: number
}

export class ClassAdvert {
    id: number = 0 //id
    imgUrl: string = "" //广告图片地址
    status: number = 1 //广告状态
    title: string = "" //广告标题
    type: number | undefined = undefined //广告类型 6种广告
    unionType: number | undefined = undefined //关联类型  4种
    unionValue: string = "" //关联值
    //广告图片颜色
    color: string | null = null
    gmtCreate: number | null = null
    gmtUdate: number | null = null
}
export class ClassSku {
    "id"?: number | undefined = undefined;
    "barCode"?: string | undefined = undefined;
    "getCreate"?: number | undefined = undefined;
    "getUpdate"?: number | undefined = undefined;
    "img"?: string | undefined = undefined;
    "originalPrice": number | undefined = undefined;
    "price": number | undefined = undefined;
    "vipPrice": number | undefined = undefined;
    "spuId": number | undefined = undefined;
    "stock": number | undefined = undefined;
    "title": string | undefined = undefined;
    "weight": number | undefined = undefined;
    "specification": string | undefined = undefined;
}
export class ClassAttribute {
    "attribute": string | undefined = undefined;
    "value": string | undefined = undefined;
}
export class ClassSpecification {
    "id": number | undefined = undefined;
    "title": string | undefined = undefined;
    "gmtCreate": number | undefined = undefined;
    "values": string[];
    "inputSkuTagVisible": Boolean;
    "inputValue": string
}
export class ClassCreateFrom {
    "id": number | undefined = undefined;
    "activityId": string | undefined = undefined;
    "activityType": number | undefined = undefined;
    "attributeList": ClassAttribute[] = [];
    "title": undefined | string = undefined;
    "categoryId": number | undefined = undefined;
    "description": string | null = null;
    "detail": string | null = null;
    "freightTemplateId": number | undefined = undefined;
    "gmtActivityEnd": number | undefined = undefined;
    "gmtActivityStart": string | undefined = undefined;
    "gmtUpdate": number | undefined = undefined;
    "gmtCreate": number | undefined = undefined;
    "img": string | undefined = undefined;
    "imgList": string[] = [];
    "originalPrice": number;
    "price": number;
    "vipPrice": number;
    "specificationList": ClassSpecification[] = []
    "sales": string | undefined = undefined;
    "status": number | undefined = undefined;
    "stock": number | undefined = undefined;
    "unit": string = "";
    "skuList": ClassSku[] = []
}
export class ClassTag {
    name: string = "";
    fullPath: string = "";
    title: string | undefined = "";
    constructor(fullPath: string, title: string, name: string) {
        this.fullPath = fullPath;
        this.title = title;
        this.name = name
    }
}